Add a \n to the debug of the HTTP functions, so my debug log is readable.
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Thu, 24 Jun 2010 22:13:11 +0000 (22:13 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Thu, 24 Jun 2010 22:13:11 +0000 (22:13 +0000)
includes/HttpFunctions.php

index 9a2a929..9b5202c 100644 (file)
@@ -32,7 +32,7 @@ class Http {
         */
        public static function request( $method, $url, $options = array() ) {
                $url = wfExpandUrl( $url );
-               wfDebug( "HTTP: $method: $url" );
+               wfDebug( "HTTP: $method: $url\n" );
                $options['method'] = strtoupper( $method );
                if ( !isset( $options['timeout'] ) ) {
                        $options['timeout'] = 'default';